package com.java.dao;

import java.util.List;

import com.java.pojo.ComDept;
import com.java.pojo.ComEmp;

public interface IEmpDAO {

	public int getEmpNum();

	public int getEmpNum(String eName, String ePhone, Integer eDeptno,
			String eJob);

	public List<ComDept> getDeptno();


	public List<ComEmp> getEmpListByPage(int start, int max);

	public boolean deleteEmp(String[] emp);

	public boolean updateEmp(ComEmp emp);

	public boolean addEmp(ComEmp emp);

	public ComEmp getEmpById(String id);

	public List<ComEmp> getEmpListByConditions(String EName, String EPhone,
			Integer EDeptno, String EJob, final int start, final int max);
}
